
/* -------------------------------- 

Modules - reusable parts of our design

-------------------------------- */
.cd-container {
  /* this class is used to give a max-width to the element it is applied to, and center it horizontally when it reaches that max-width */
  width: 90%;
  margin: 0 auto;
}
.cd-container::after {
  /* clearfix */
  content: '';
  display: table;
  clear: both;
}

/* -------------------------------- 

Main components 

-------------------------------- */
.timeline {
  position: relative;
  padding: 25px 0;
  margin-bottom: 25px;
}
.timeline::before {
  /* this is the vertical line */
  content: '';
  position: absolute;
  top: 0;
  left: 19px;
  height: 100%;
  width: 3px;
  background: #d5d5d5;
}

.cd-timeline-block {
  position: relative;
  margin: 35px 0;
}
.cd-timeline-block:after {
  content: "";
  display: table;
  clear: both;
}
.cd-timeline-block:first-child {
  margin-top: 0;
}
.cd-timeline-block:last-child {
  margin-bottom: 0;
}

.cd-timeline-point {
  position: absolute;
  top: 0;
  left: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  box-shadow: 0 0 0 4px #d5d5d5, inset 0 2px 0 rgba(0, 0, 0, 0.08), 0 3px 0 4px rgba(0, 0, 0, 0.05);
  background: #75ce66;
  text-align: center;
}

.cd-timeline-point .day {
  display: block;
  height: 40px;
  line-height: 40px;
  color: #fff;
}

.cd-timeline-point .date {
  display: block;
  margin: 5px -20px;
  padding: 5px 0;
  font-size: 12px;
  font-weight: bolder;
  background-color: #ffffff;
}

.cd-timeline-content {
  position: relative;
  margin-left: 75px;
  background: #ffffff;
  border-radius: 5px;
  padding: 10px 15px;
  box-shadow: 0 3px 0 #d5d5d5, 0 1px 0px 2px #d5d5d5;
}
.cd-timeline-content:after {
  content: "";
  display: table;
  clear: both;
}
.cd-timeline-content h2 {
  font-size: 16px;
  color: #333;
  font-weight: normal;
  margin: 0 0 8px 0;
  padding: 3px 0 10px;
  border-bottom: 1px solid #eaeaea;
}

.cd-timeline-content h2 a {
  color: #333;
}

.cd-timeline-content p, 
.cd-timeline-content .cd-read-more, 
.cd-timeline-content {
  font-size: 14px;
  color: #777;
}
.cd-timeline-content .cd-read-more, 
.cd-timeline-content {
  /* display: inline-block; */
  display: block;
}
.cd-timeline-content p {
  display: block;
  margin: 10px 0;
  line-height: 20px;
  max-height: 60px;
  overflow: hidden; 
  text-overflow: ellipsis; 
  white-space: pre-line;
}


.cd-timeline-content p a {
  color: #777;
}

.cd-timeline-content .alink {
  text-decoration: none;
}

.cd-timeline-content .label {
  position: absolute;
  right: 5px;
  top: -10px;
  display: inline-block;
  padding: 3px;
  font-size: 18px;
  font-weight: bold;
  color: white;
  background: #92d050;
}

.cd-timeline-content .cover {
  max-width: 100%;
}

.cd-timeline-content .cd-read-more {
  display: block;
  border-top: 1px solid #EAEAEA;
  color: #444444;
  font-size: 12px;
  padding-top: 6px;
}

.cd-timeline-content .cd-read-more .glyphicon {
  top: 3px;
  color: #444444;
  font-weight: 100;
}

.cd-timeline-content::before {
  content: '';
  position: absolute;
  top: 16px;
  right: 100%;
  height: 0;
  width: 0;
  border: 7px solid transparent;
  border-right: 7px solid #d5d5d5;
}

.cd-timeline-point.color-white .day {
  color: #333;
}

.cd-timeline-block.hover .cd-timeline-point {
  background-color: #f58640 !important;
  box-shadow: 0 0 0 4px #f58640, 
              inset 0 2px 0 rgba(0, 0, 0, 0.08), 
              0 3px 0 4px rgba(0, 0, 0, 0);
}

.cd-timeline-block.hover .cd-timeline-point .day {
  color: #fff;
}

.hover .cd-timeline-content {
  box-shadow: 0 2px 0px 3px #f58640;
}

.hover .cd-timeline-content::before {
  border-right: 7px solid #f58640;
}
